package 上课day1;

import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;

public class project_demo7 {
	public static void main(String[] args) {
		List<String> list = new ArrayList<String>();
		list.add("Hello");
		list.add("World");
		list.add(1, "Learn");
		list.add(1, "Java");
		
		for (String string : list) {
			System.out.println(string);
		}
	}
}
